package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.DictUnit;
import com.zshan.clinic.database.model.DictUnitExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DictUnitMapper extends SuperMapper {
    long countByExample(DictUnitExample example);

    int deleteByExample(DictUnitExample example);

    int deleteByPrimaryKey(String unitCode);

    int insert(DictUnit row);

    int insertSelective(DictUnit row);

    List<DictUnit> selectByExample(DictUnitExample example);

    DictUnit selectByPrimaryKey(String unitCode);

    int updateByExampleSelective(@Param("row") DictUnit row, @Param("example") DictUnitExample example);

    int updateByExample(@Param("row") DictUnit row, @Param("example") DictUnitExample example);

    int updateByPrimaryKeySelective(DictUnit row);

    int updateByPrimaryKey(DictUnit row);
}